package com.aaa.entity;

import com.aaa.entity.repair.BackEntrepot;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ClassName BackExpenseorder
 * @Description 销售订单表
 * @Author caolinlin
 * @Date 2018/12/18 15:35
 **/

public class BackExpenseorder {
    /***消费订单号*/
    private String expenseorder;
    /***电话号*/
    private String telephone;
    /***消费类型id*/
    private int expensetypeId;
    /***商品类型id*/
    private int goodstypeId;
    /***每种商品的 价格合计*/
    private double expensecost;
    /***员工id*/
    private String employeeid;
    /***订单创建时间*/
    @DateTimeFormat(pattern = "yy-MM-dd hh:mm:ss")
    private Date createtime;
    /***订单修改时间*/
    private Date updatetime;
    /***删除状态*/
    private int isdelete;
    /***消费总计*/
    private double total;
    /***商品id*/
    private int goodsid;
    /***每件商品的购买数量*/
    private int number;

    private AppUserinfo appUserinfo;
    private AppExpensetype appExpensetype;
    private BackEmployeeinfo backEmployeeinfo;
    private BackGoodstype backGoodstype;
    private List<BackEntrepot> backEntrepot;

    /***学校名*/
    private String school;
    /***消费类型*/
    private String expensetype;
    /***操作员姓名*/
    private String name;

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(int goodsid) {
        this.goodsid = goodsid;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }



    public BackExpenseorder() {
    }

    public String getExpenseorder() {
        return expenseorder;
    }

    public void setExpenseorder(String expenseorder) {
        this.expenseorder = expenseorder;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public int getExpensetypeId() {
        return expensetypeId;
    }

    public void setExpensetypeId(int expensetypeId) {
        this.expensetypeId = expensetypeId;
    }

    public int getGoodstypeId() {
        return goodstypeId;
    }

    public void setGoodstypeId(int goodstypeId) {
        this.goodstypeId = goodstypeId;
    }

    public double getExpensecost() {
        return expensecost;
    }

    public void setExpensecost(double expensecost) {
        this.expensecost = expensecost;
    }

    public String getEmployeeid() {
        return employeeid;
    }

    public void setEmployeeid(String employeeid) {
        this.employeeid = employeeid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public AppUserinfo getAppUserinfo() {
        return appUserinfo;
    }

    public void setAppUserinfo(AppUserinfo appUserinfo) {
        this.appUserinfo = appUserinfo;
    }

    public AppExpensetype getAppExpensetype() {
        return appExpensetype;
    }

    public void setAppExpensetype(AppExpensetype appExpensetype) {
        this.appExpensetype = appExpensetype;
    }

    public BackEmployeeinfo getBackEmployeeinfo() {
        return backEmployeeinfo;
    }

    public void setBackEmployeeinfo(BackEmployeeinfo backEmployeeinfo) {
        this.backEmployeeinfo = backEmployeeinfo;
    }

    public BackGoodstype getBackGoodstype() {
        return backGoodstype;
    }

    public void setBackGoodstype(BackGoodstype backGoodstype) {
        this.backGoodstype = backGoodstype;
    }

    public List<BackEntrepot> getBackEntrepot() {
        return backEntrepot;
    }

    public void setBackEntrepot(List<BackEntrepot> backEntrepot) {
        this.backEntrepot = backEntrepot;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getExpensetype() {
        return expensetype;
    }

    public void setExpensetype(String expensetype) {
        this.expensetype = expensetype;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
